#include<stdio.h>
#include<assert.h>

int my_strlen(char *str)
{
	int count = 0;
	assert(str!=NULL);
	while (*str != '\0')
	{
		count++;
		str++;
	}
	return count;
}

int main()
{
	char arr[20] = "ajksbfghdjkshvds";
	int ret = my_strlen(arr);
	printf("%d\n", ret);
	return 0;
}